package cn.wang.service.login.Impl;


import cn.wang.dao.BaseDao;
import cn.wang.entity.Customer;
import cn.wang.entity.log.LoginLog;
import cn.wang.service.CastomerService;
import cn.wang.service.login.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by john on 2017/10/25.
 */
@Service("loginService")
@Transactional
public class LoginServiceImpl implements LoginService {
    @Autowired
  private BaseDao<LoginLog,String> logStringBaseDao;

    public void logAdd(LoginLog loginLog) {
        logStringBaseDao.save(loginLog);

    }
}
